package cn.sccl.dirms.dev.service.impl;

import cn.sccl.common.service.impl.BaseManagerImpl;
import org.springframework.stereotype.Service;
import org.springframework.beans.factory.annotation.Autowired;
import cn.sccl.common.dao.BaseDAO;
import cn.sccl.dirms.dev.service.DataKeyManager;
import cn.sccl.dirms.dev.dao.DataKeyDAO;
import cn.sccl.dirms.dev.model.DataKey;

/**
 * 的Manager实现类
 * Created by liupan on 2017-06-25.
 */
@Service
public class DataKeyManagerImpl extends BaseManagerImpl<DataKey> implements DataKeyManager {

    @Autowired
    private DataKeyDAO dataKeyDAO;

    public DataKeyDAO getDataKeyDAO() {
        return dataKeyDAO;
    }

    @Override
    public BaseDAO<DataKey> getBaseDAO() {
        return getDataKeyDAO();
    }
}